@import './variables.scss';

// cover some element-ui styles
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

//user-defined
.el-main {
  background: #fff;
  border-radius: 4px;
}

.el-dialog {
  border-radius: 10px;
}

.el-dialog__header {
  box-shadow: 0 2px 6px 0px rgba(0, 0, 0, 0.1)
}

.el-dialog__body {
  padding-bottom: 0px !important;
}

.el-dialog__footer {
  //border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.el-tree::-webkit-scrollbar { /*滚动条整体样式*/
  width: 8px;
  height: 1px;
  background: #fff;
  border-radius: 4px;
}

.el-tree::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
  display: block;
  width: 6px;
  margin: 0 auto;
  border-radius: 3px;
  background: #ddd;
}

@media screen and (max-width: 750px) {
  .el-message-box {
    width: 60% !important;
  }
}

.el-icon-plus.avatar-uploader-icon {
  line-height: 100px !important;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both
}

.el-pagination {
  margin-top: 7px !important;
}

/*
  修改el-popover样式 支持最小宽度100px
 */
.el-popover {
  min-width: 100px !important;
}

/*
  修改el-tooltip__popper样式 最大只支持300px
 */
.el-tooltip__popper {
  max-width: 300px !important;
}


/* 力合招商样式 */

// #app /deep/.login-container{
// 	background: url("../assets/images/index-background.jpg") no-repeat scroll 100% 100% !important;
// }

// #app /deep/.sidebar-container {
//     background: rgba(0, 0, 0, 0) url("../assets/images/sidebar.jpg") no-repeat scroll 100% 100% !important;
// 	.el-menu {
// 	  background: rgba(0,0,0,0.2) !important;
// 	}
// 	& .nest-menu .el-submenu>.el-submenu__title,
// 	& .el-submenu .el-menu-item {
// 	  min-width: $sideBarWidth !important;
// 	  background-color: inherit !important;

// 	  &:hover{
// 	    background-color: $menuHover !important;
// 	  }
// 	}
// 	.sidebar-logo-container{
// 		background: rgba(255, 255, 255, 0.3) !important;
// 	}
// }

// .el-button--text,
// .el-radio__input.is-checked+.el-radio__label,
// .el-pager li.active,
// .el-cascader-node.in-active-path,
// .el-cascader-node.is-active,
// .el-cascader-node.is-selectable.in-checked-path,
// .el-select-dropdown__item.selected,
// .el-tabs__item:hover,
// .el-tabs__item.is-active,
// .el-select-dropdown__item.selected,
// .el-select-dropdown.is-multiple .el-select-dropdown__item.selected,
// .text-own-purple,
// .el-switch__label.is-active{
// 	color: $color-own-purple !important;
// }
// .el-button--text:focus,
// .el-button--text:hover,
// .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active,
// .el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover,
// .text-blue,
// .line-blue,
// .lines-blue{
//     color: $color-own-purple-hover;
// }

// .el-radio__inner:hover,
// .el-checkbox__input.is-focus .el-checkbox__inner,
// .el-checkbox__inner:hover,
// .el-cascader .el-input .el-input__inner:focus,
// .el-cascader .el-input.is-focus .el-input__inner,
// .el-cascader-node.is-selectable.in-checked-path,
// .el-select .el-input.is-focus .el-input__inner,
// .el-select .el-input__inner:focus,
// #app /deep/.flow-node-container:not(.start):not(.end):hover,
// #app /deep/.flow-node-condition:hover,
// #app /deep/.flow-node-menu-li:not(.start):not(.end):hover{
//     border-color: $color-own-purple-hover !important;
// }
// .el-select .el-input.is-focus .el-input__inner,
// .el-select .el-input__inner:focus,
// .el-input.is-active .el-input__inner,
// .el-input__inner:focus,
// .el-radio.is-bordered.is-checked{
//     border-color: $color-own-purple-border-dark;
// }
// #app /deep/.flow-node-active:not(.start):not(.end){
// 	border: 1px solid $color-own-purple-hover !important;
// }

// .el-table--striped .el-table__body tr.el-table__row--striped td{
// 	background-color: $color-own-purple-back-active;
// }
// .el-table__body tr.current-row>td{
// 	background-color: $color-own-purple-back !important;
// }
// .router-link-exact-active.router-link-active .el-menu-item.is-active{
// 	background-color: rgba(255,255,255,0.1) !important;
// }
// #app /deep/.flow-node-left:not(.start):not(.end),
// .el-tabs__active-bar{
// 	background-color: $color-own-purple-hover !important;
// }

// .el-dropdown-menu__item:focus,
// .el-dropdown-menu__item:not(.is-disabled):hover {
// 	color: $color-own-purple;
//     background-color: $color-own-purple-back;
// }
// .el-switch.is-checked .el-switch__core,
// .el-checkbox__input.is-checked .el-checkbox__inner,
// .el-checkbox__input.is-indeterminate .el-checkbox__inner,
// .el-radio__input.is-checked .el-radio__inner{
//     border-color: $color-own-purple !important;
//     background-color: $color-own-purple !important;
// }

// .el-button--primary {
//     color: #FFF;
// 	border-color: $color-own-purple;
//     background-color: $color-own-purple;
// }
// .el-button--primary.is-plain,
// .el-tag,
// .el-button.el-button--default:focus,
// .el-button.el-button--default:hover{
// 	color: $color-own-purple;
// 	border-color: $color-own-purple-border;
//     background-color: $color-own-purple-back;
// }
// .el-button--primary:focus,
// .el-button--primary:hover,
// .el-button--primary.is-plain:focus,
// .el-button--primary.is-plain:hover {
// 	color: #FFF;
// 	border-color: $color-own-purple-hover;
//     background-color: $color-own-purple-hover;
// }
